package com.ruoyi.client.service;

import com.ruoyi.common.core.utils.SpringUtils;

public interface LoginService {
    static String login(String username, String password, String type) {
        LoginService loginService = SpringUtils.getBean(type + "-service");
        return loginService.login(username,password);
    }
    String login(String username, String password);

    void logout();

}
